using Newtonsoft.Json.Linq;

namespace SB2.Core
{
    public class EntityHasUser : EntityHasCreatedUser, IEntityHasCreatedUser, IEntityHasUpdatedUser
    {
        [SugarColumn(IsNullable = true)]
        public DateTime? UpdateTime { get; set; }
        [SugarColumn(IsNullable = true)]
        public long? UpdateUserID { get; set; }
    }
    public class EntityHasCreatedUser : IEntityHasCreatedUser
    {
        [SugarColumn(IsNullable = false)]
        public DateTime CreateTime { get; set; }
        [SugarColumn(IsNullable = false)]
        public long CreateUserID { get; set; }
    }
    public interface IEntityHasCreatedUser
    {
        DateTime CreateTime { get; set; }
        long CreateUserID { get; set; }
    }

}